package com.ruoyi.project.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单维护状态报告对象 order_report
 * 
 * @author phil
 * @date 2020-07-17
 */
public class OrderReport extends BaseEntity{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private Long id;

	/** 订单ID */
	@Excel(name = "订单ID")
	private Long orderId;

	/** 状态报告（0：正常；1：预警；2：异常） */
	@Excel(name = "状态报告", readConverterExp = "0=：正常；1：预警；2：异常")
	private Integer feedbackStatus;

	/** 维护状态报告时间 */
	@Excel(name = "维护状态报告时间", width = 30, dateFormat = "yyyy-MM-dd")
	private Date feedbackStatusTime;

	/** 状态报告原因 */
	@Excel(name = "状态报告原因")
	private String suggestion;

	public void setId(Long id){
		this.id = id;
	}

	public Long getId(){
		return id;
	}

	public void setOrderId(Long orderId){
		this.orderId = orderId;
	}

	public Long getOrderId(){
		return orderId;
	}

	public void setFeedbackStatus(Integer feedbackStatus){
		this.feedbackStatus = feedbackStatus;
	}

	public Integer getFeedbackStatus(){
		return feedbackStatus;
	}

	public void setFeedbackStatusTime(Date feedbackStatusTime){
		this.feedbackStatusTime = feedbackStatusTime;
	}

	public Date getFeedbackStatusTime(){
		return feedbackStatusTime;
	}

	public void setSuggestion(String suggestion){
		this.suggestion = suggestion;
	}

	public String getSuggestion(){
		return suggestion;
	}

	@Override
	public String toString(){
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("orderId", getOrderId()).append("feedbackStatus", getFeedbackStatus()).append("feedbackStatusTime", getFeedbackStatusTime())
				.append("suggestion", getSuggestion()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).toString();
	}
}
